- element
- an item in the data set
- tree
- true to evaluate the Data Set as a tree; false to evaluate the Data Set as a list.
- tag
- tag of the item to find.
- defaultValue
- a value of type T that is returned if the actual value cannot be retrieved.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function GetValue(Of T)( _ ByVal element As DicomElement, _ ByVal tree As Boolean, _ ByVal tag As Long, _ ByVal defaultValue As T _ ) As T |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public T GetValue<T>( DicomElement element, bool tree, long tag, T defaultValue ) |
C++/CLI | |
---|---|
public: T GetValuegeneric<typename T> ( DicomElement^ element, bool tree, long tag, T defaultValue ) |
Parameters
- element
- an item in the data set
- tree
- true to evaluate the Data Set as a tree; false to evaluate the Data Set as a list.
- tag
- tag of the item to find.
- defaultValue
- a value of type T that is returned if the actual value cannot be retrieved.
Type Parameters
- T
- specifies the type of the value to return
Return Value
a value of type T that is the value of the DICOM elementFor an example, refer to DicomDataSet.GetValue{T}(DicomElement, T)
For information on this method, see GetValue.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family